package org.example.communication_room.service.interfaces;

import org.example.communication_room.dao.Friendship;

import java.util.List;
import java.util.Map;

public interface FriendShipService {
    public Friendship addFriend(Long requesterId, Long receiverId) throws Exception;
    public void acceptFriendRequest(Long friendshipId, Long receiverId);
//    删除好友
    public void deleteFriend(Long receiverId, Long requesterId);
    public List<Friendship> findPendingFriendRequests(Long userId);
    public List<Map<String, Object>> findAcceptedFriends(Long userId);
}
